package com.summer.report.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.report.common.domain.ReportDataSource;

import java.util.Map;

public interface ReportDataSourceService extends IService<ReportDataSource>{

    /**
     * 测试数据库连接是否能成功
     * @param reportDataSource
     * @return
     */
    Map<String,Object> testConnect(ReportDataSource reportDataSource);

}
